package com.lagou.task10;

public class Test {
    public static void main(String[] args) {
        Manager manager = new Manager();
        manager.work(123,15000,6000,"一龙");
        Coder coder = new Coder();
        coder.work(135,10000,"方便");
        System.out.println("-------------------------");
        manager.setId(123);
        manager.setSalary(15000);
        manager.setBonus(6000);
        manager.setName("一龙");
        manager.work();
        coder.setId(135);
        coder.setSalary(10000);
        coder.setName("方便");
        coder.work();
    }
}
